function add<T,K>(x:T,y:K):T{
  return x
}

add<number,string>(0,'1');
add<boolean,number>(true,1)


interface Person{
  name:string;
  age:number;
  gender:'男'|'女';
}

type AgeType=Pick<Person,'age'|'name'>

const tom:AgeType={
  name:'tom',
  age:11
}
